<div id="info" class="info">
  <p style="color:green;"><%= flash[:cre_user_ss]if flash[:cre_user_ss] %></p>
  <p style="color:red;"><%= flash[:cre_user_err]if flash[:cre_user_err] %></p>
  <%= error_messages_for(:user) %>
</div>
<% form_for :user, @user, :url => "/users/create" , :html => {:class => "register"} do |f| %>
  <div class="wrapper">
    <h3 >Registration</h3>
    <label for="user[firstname]">First Name</label>
    <%= f.text_field :firstname%>

    <label for="user[lastname]">Last Name </label>
    <%= f.text_field :lastname%>

    <label for="user[username]">User Name  </label>
    <%= f.text_field :login%>

    <label for="user[email]">Email </label>
    <%= f.text_field :email%>

    <label for="[user_password]">Password </label>
    <%= f.password_field :password%>

    <label for="user[password_confirmation]">Confirm Password </label>
    <%= f.password_field :password_confirmation%>
  </div>
  <div class="clear c25">&nbsp;</div>
  <%= f.submit "Register"%>
<% end %>
